package org.example.seckill.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author woopsion
 * @date 2025-07-01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_order")
public class order {
    @TableId(value = "id", type = IdType.AUTO)     
    private Long id;
    private Long userId;
    private Long goodsId;
    private Long deliveryAddrId;
    private String goodsName;
    private BigDecimal goodsPrice;
    private Integer goodsChannel;
    private Integer status;
    private Date createDate;
    private Date payDate;
}
